import instance from './axios_interceptors'

export function send(url, type, data){
    var d = new FormData();
    for (var key in data){
        d.append(key, data[key])
    }
return instance({
        url: url,
        method: type,
        data: d
    })
}
